import {IHomeprops} from '@/common/type';
import React from 'react';
import {Text, View} from 'react-native';

class Account extends React.Component<IHomeprops> {
  onPress = () => {
    const {navigation} = this.props;
    // 跳转详情
    navigation.navigate('Detail', {
      id: 100,
    });
  };
  render(): React.ReactNode {
    return (
      <View>
        <Text>这是Account</Text>
      </View>
    );
  }
}

export default Account;
